package cn.detu.ln.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("english")
@Data
public class English {
    // 主键自增策略
    @TableId(value = "english_id",type = IdType.AUTO)
    // id
    private Integer englishId;
    private String englishTitle;
    private String englishWord;
    private String englishType;
    private String englishIntroduce;
    private Integer status;
    // 是否删除
    @TableLogic // 逻辑删除位
    private Integer isDelete;
}
